<template>
    <div>
       <div>
           <van-card
            v-for="(item,i) in list"
            :key="i"
       :price="item.pprice"
        :desc="item.pdesc"
         :title="item.pname"
     :thumb="item.pimg"
        />
       </div>
    </div>
</template>
<script>
import axios from 'axios';
export default {
    data() {
        return {
            list:''
        }
    },
    methods: {
        
    },
    mounted() {
          axios({
            url:'http://jx.xuzhixiang.top/ap/api/productlist.php',
        params:{uid:88990}
         }).then((data)=>{
              //console.log(data.data)
            this.list = data.data
         }) 
    },
 
}
</script>
<style scopend>
    
</style>